package com.swpu.seckill.vo;

import com.swpu.seckill.validator.IsMobile;
import jdk.nashorn.internal.runtime.logging.Logger;
import lombok.Data;
import lombok.NonNull;
import org.hibernate.validator.constraints.Length;

@Data
public class LoginVo {
    @NonNull
    @IsMobile
    private String mobile;

    @NonNull
    @Length(min = 32)
    private String password;
}
